package com.ima.repository;

import com.ima.model.IDouChange;
import com.ima.model.Resume;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Repository
public interface ResumeRepository extends JpaRepository<Resume, Long> {
//    @Modifying
//    @Transactional
//    @Query("UPDATE tb_resume resume SET  resume.name = ?1 ,resume.address = ?2 ,resume.phone = ?3  WHERE resume.id = ?4")
//    void updateName(String name, String address,String phone,Long id);

}
